{template 'member', 'header'}
<script type="text/javascript">
<!--
	var charset = '{CHARSET}';
	function selecttype(val){
		var spacetype = $('#spacetype').val();
		$.post("index.php?m=member&c=designer&a=get_space_type", {
			id:val
		}, function(data) {
			$('#spacetype').html("");
			$('#spacetype').html(data);
		}
		);
	}
	function selectcity(val){
		var area = $('#area').val();
		
		$.post("index.php?m=member&c=index&a=getarea", {
			id:val
		}, function(data) {
			var d = '<select name="company[area]">'+data.str+'</select>';
			//$('#city_letter').val(data.letter);
			$('#area').html("");
			$('#area').html(d);
			
		},"json"
		);
	}
//-->
</script>
<link href="{CSS_PATH}dialog.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="{JS_PATH}dialog.js"></script>
<script language="javascript" type="text/javascript" src="{JS_PATH}content_addtop.js"></script>

<div id="main-content">

	{template 'member', 'left'}
	<div class="right">
	 <div class="hd">
      <h3 class="t02">基本信息 >><a href="#">sd</a></h3>
    </div>
		<div class="bd">
			<a href="./company_index.html" class="h_bottom h_bottom_left" >前台预览</a>
			<a href="#" class="h_bottom01 h_bottom_left" >退出公司</a>
			<form name="myform" action="{APP_PATH}index.php?m=member&c=company&a=company_info" method="post" id="myform">
<table>

      
     <tr>
       <th>公司名：</th>
       <td><input name="company[companyname]" type="text" id="subject" size="30" value="{$member['companyname']}"  class="input-text"/></td>
     </tr>  
      <th>城市：</th>
       <td>
       <!-- 
       <input type="hidden" value="" name="company[city_letter]" id="city_letter"> -->
		{pc:member action="get_city"  return="city"}
       		<select name="company[city]"  onchange="selectcity(this.value);">
				<option value="0">请选择</option>
				{loop $city $k $v}
					<option value="{$v['linkageid']}">{$v['name']}</option>
				{/loop}
			</select>
		{/pc}
				<span id="area">
				<select>
					<option value="0" >请选择</option>
				</select>
				</span>
       </td>
     </tr>
    
     <tr>
       <th>公司地址：</th>
       <td><input name="company[address]" type="text" id="subject" size="30" value="{$member['address']}"  class="input01"/></td>
     </tr>
      <tr>
       <th>成立时间：</th>
       <td>
       <link rel="stylesheet" type="text/css" href="http://localhost/phpcms2/statics/js/calendar/jscal2.css"/>
			<link rel="stylesheet" type="text/css" href="http://localhost/phpcms2/statics/js/calendar/border-radius.css"/>
			<link rel="stylesheet" type="text/css" href="http://localhost/phpcms2/statics/js/calendar/win2k.css"/>

			<script type="text/javascript" src="http://localhost/phpcms2/statics/js/calendar/calendar.js"></script>
			<script type="text/javascript" src="http://localhost/phpcms2/statics/js/calendar/lang/en.js"></script><input type="text" name="company[establishtime]" id="inputtime" value="{$member['establishtime']}" size="21" class="date" readonly>&nbsp;<script type="text/javascript">
			Calendar.setup({
			weekNumbers: true,
		    inputField : "inputtime",
		    trigger    : "inputtime",
		    dateFormat: "%Y-%m-%d",
		    showTime: 12,
		    onSelect   : function() {this.hide();}
			});
        </script> 
      </td>
     </tr>
      <tr>
       <th>装修定价：</th>
       <td><input name="company[price_start]" type="text" id="subject" size="8" value="{$member['price_start']}"  class="input-text"/> 元 到 <input name="company[price_end]" type="text" id="subject" size="8" value="{$member['price_end']}"  class="input-text"/> 元</td>
     </tr>
      <tr>
       <th>logo：</th>
       <td><input name="company[logo]" type="text" id="subject" size="30" value="{$member['logo']}"  class="input01"/></td>
     </tr>
     
     <tr>
       <th>公司规模：</th>
       <td><input name="company[company_size]" type="text" id="subject" size="30" value="{$member['company_size']}"  class="input01"/></td>
     </tr>
      <tr>
       <th>注册资本：</th>
       <td><input name="company[reg_capital]" type="text" id="subject" size="30" value="{$member['reg_capital']}"  class="input01"/></td>
     </tr>
      </tr>
      <tr>
       <th>公司资历：</th>
       <td><input name="company[company_type]" type="text" id="subject" size="30" value="{$member['company_type']}"  class="input01"/></td>
     </tr>
 <tr>
       <th>业务范围：</th>
       <td><input name="company[business]" type="text" id="subject" size="30" value="{$member['business']}"  class="input01"/></td>
     </tr>
      <tr>
       <th>广告语：</th>
       <td><input name="company[adv_lan]" type="text" id="subject" size="30" value="{$member['adv_lan']}"  class="input01"/></td>
     </tr>
     
      <tr>
       <th>企业简介：</th>
       <td>
       <textarea style="width: 540px; height: 120px; margin-top: 4px; margin-bottom: 4px;" class="input01" rows="" cols="" name="company[about_us]">{$member['about_us']}</textarea>
     	
	</td>
     </tr>
     <tr>
       <th>&nbsp;</th>
       <td ><label>
         <input type="submit" name="dosubmit" id="dosubmit" value="确 定" class="button"/>
         </label></td>
     </tr>
   </table>
   </form>
			<span class="o1"></span><span class="o2"></span><span class="o3"></span><span class="o4"></span>
		</div>
	</div>
</div>
</div>
</div>
<div class="clear"></div>
<script type="text/javascript"> 

{template 'member', 'footer'}